package com.starfactory.customer.interceptor;

import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpMethod;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;


/**
 * @author heartingme
 * @date 2022/3/21-4:41 下午
 * @Description movingbrick
 */
@Configuration
public class WebInterceptor implements WebMvcConfigurer {


    // 注册拦截器
    @Override
    public void addInterceptors(InterceptorRegistry registry) {
        // 日志拦截器

    }

}
